<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
</head>
<body>
<div style="margin:0 auto;
border:2px solid black;
width:300px;
padding:20px;">
<form method="post" action="/table">
    {% csrf_token %}
    {% for d in data %}
    姓名<input type="text" value="{{d.username}}" name="name"><br>
    成绩<input type="text" value="{{d.score}}" name="score"><br />
    班级:<input type="text" value="{{d.classroom}}" name="classroom"><br />
    技能:<input type="text" value="{{d.skills}}" name="skills"><br />
    个人简介：<textarea name="desc">{{d.desc}}</textarea><br />
    <hr />
    {% endfor %}
    <input type="submit" value="修改">
</form>
</div>
</body>
</html>